package com.amarsoft.apot.service;

import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface SendSmsService {
    /**
     * 阿里云短信发送
     * @param phoneNum 接受手机号
     * @param templateCode 短信模板code
     * @param code 短信验证码
     * @return
     */
    public boolean sendSms(String phoneNum, String templateCode, Map<String,Object> code);
}
